const mongoose = require("./db")

const goodsSchema = mongoose.Schema({
    goodsId:{type:String},
    goodsName:{type:String},
    kind:{type:String},
    brand:{type:String},
    logo:{type:String},
    goodsImg:{type:String},
    message:{type:String},
    price:{type:Number},
    stock:{type:Number},
    sale:{type:Number},
    discount:{type:Number},
    score:{type:Number}
})

module.exports = mongoose.model("goods", goodsSchema);